<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="Cache" content="no-cache">
    <title>智能进出口服务平台</title>
    <link rel="shortcut icon" type="image/x-icon" href="/images/logo.ico" />
    <link rel="stylesheet" type="text/css" href="/layui/css/layui.css?v=202001010101" />
    <link rel="stylesheet" type="text/css" href="/css/font-awesome.min.css?v=202001010101" />
    <link rel="stylesheet" type="text/css" href="/css/jquery-ui.css?v=202001010101">
    <link rel="stylesheet" type="text/css" href="/css/style.css?v=202001010101">
</head>
<body>
<div class="tsf-page-content" style="padding: 0px;">
    <div class="layui-card">
        <form class="layui-form" method="post" lay-filter="baseForm" id="baseForm">
            <div class="layui-card-header"><span class="def-fc left-split"><i class="fa fa-address-card-o"></i>基础信息</span></div>
            <div class="layui-card-body">
                <div class="layui-row">
                    <div class="layui-col-md4">
                        <label class="layui-form-label"><span class="text-danger">*</span>供应商名称</label>
                        <div class="layui-input-block">
                            <input name="name" id="name" class="layui-input required" placeholder="供应商名称" clear-val/>
                        </div>
                    </div>
                    <div class="layui-col-md4">
                        <label class="layui-form-label">联系人</label>
                        <div class="layui-input-block">
                            <input name="linkPerson" id="linkPerson" class="layui-input" placeholder="联系人" clear-val/>
                        </div>
                    </div>
                    <div class="layui-col-md4">
                        <label class="layui-form-label">电话</label>
                        <div class="layui-input-block">
                            <input name="tel" id="tel" class="layui-input" placeholder="电话" clear-val/>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-card-body">
                <div class="layui-row">
                    <div class="layui-col-md4">
                        <label class="layui-form-label">传真</label>
                        <div class="layui-input-block">
                            <input name="fax" id="fax" class="layui-input" placeholder="传真" clear-val/>
                        </div>
                    </div>
                    <div class="layui-col-md4">
                        <label class="layui-form-label">地址</label>
                        <div class="layui-input-block">
                            <input name="address" id="address" class="layui-input" placeholder="地址" clear-val/>
                        </div>
                    </div>
                    <div class="layui-col-md4">
                        <label class="layui-form-label">备注</label>
                        <div class="layui-input-block">
                            <textarea placeholder="备注" id="memo" name="memo" class="layui-textarea" clear-val></textarea>
                        </div>
                    </div>
                </div>
            </div>

        </form>
        <form class="layui-form" method="post" id="conveyanceForm">
            <div class="layui-card-header"><span class="def-fc left-split"><i class="fa fa-bank"></i>运输工具信息</span></div>
            <div class="layui-card-body">
                <table class="layui-hide" id="conveyance-list" lay-filter="conveyance-list"></table>
                <div class="mt10"><a href="javascript:" class="layui-btn layui-btn-sm" onclick="addConveyance()"><i class="fa fa-plus-circle"></i>添加一行</a></div>
            </div>
        </form>
    </div>
</div>

<div class="tsf-page-btn-group">
    <button type="button" class="layui-btn layui-btn-sm save-btn"><i class="fa fa-save" aria-hidden="true"></i>保存</button>
    <button type="button" class="layui-btn layui-btn-primary layui-btn-sm close-window"><i class="fa fa-close"></i>关闭</button>
</div>


<script type="text/html" id="deOperaBar">
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="deDel">删除</a>
</script>
<script type="text/html" id="conveyanceNoTemp">
    <input type="hidden" name="id" value="{{d.id}}"/>
    <input type="text" name="conveyanceNo" class="layui-input required" placeholder="车牌1" value="{{d.conveyanceNo}}"/>
</script>
<script type="text/html" id="conveyanceNo2Temp">
    <input type="text" name="conveyanceNo2" class="layui-input" placeholder="车牌2" value="{{d.conveyanceNo2}}"/>
</script>
<script type="text/html" id="customsRegNoTemp">
    <input type="text" name="customsRegNo" class="layui-input" placeholder="海关注册编号" value="{{d.customsRegNo}}"/>
</script>
<script type="text/html" id="driverTemp">
    <input type="text" name="driver" class="layui-input" placeholder="司机姓名" value="{{d.driver}}"/>
</script>
<script type="text/html" id="driverNoTemp">
    <input type="text" name="driverNo" class="layui-input" placeholder="司机身份证号码" value="{{d.driverNo}}"/>
</script>
<script type="text/html" id="driverTelTemp">
    <input type="text" name="driverTel" class="layui-input" placeholder="司机电话" value="{{d.driverTel}}"/>
</script>
<script type="text/html" id="headTemp">
    <input type="text" name="head" class="layui-input" placeholder="牌头" value="{{d.head}}"/>
</script>
<script type="text/html" id="headTelTemp">
    <input type="text" name="headTel" class="layui-input" placeholder="企业电话" value="{{d.headTel}}"/>
</script>
<script type="text/html" id="headFaxTemp">
    <input type="text" name="headFax" class="layui-input" placeholder="企业传真" value="{{d.headFax}}"/>
</script>
<script type="text/html" id="headNoTemp">
    <input type="text" name="headNo" class="layui-input" placeholder="企业代码" value="{{d.headNo}}"/>
</script>
<script type="text/html" id="disabledTemp">
    {{#if(d.disabled==false){}}
    <input type="checkbox" name="disabled" lay-skin="switch" checked lay-text="启用|禁用"/>
    {{#}else{ }}
    <input type="checkbox" name="disabled" lay-skin="switch" lay-text="启用|禁用"/>
    {{#}}}
</script>
<script type="text/html" id="isDefaultTemp">
    {{#if(d.isDefault==true){}}
    <input type="radio" name="isDefault" checked/>
    {{#}else{ }}
    <input type="radio" name="isDefault"/>
    {{#}}}
</script>

<script type="text/javascript" src="/js/jquery.min.js?v=202001010101"></script>
<script type="text/javascript" src="/layui/layui.js?v=202001010101"></script>
<script type="text/javascript" src="/js/jquery-ui.min.js?v=202001010101"></script>
<script type="text/javascript" src="/js/app.js?v=202006010928"></script>
<script type="text/javascript" src="/logistics/transportSupplier/add.js?v=202001010101"></script>
</body>
</html>
